﻿package {
	import flash.display.Sprite;
	public class Foo extends Sprite{
		public var k:String="child";     //屬性
		public function Foo():void {
			/*graphics.beginFill(0x0000ff);         //填色
			graphics.drawRect(0,0,100,100);       //方型
			graphics.endFill(); */                  //結束填色
			trace (k)      
		}
	}
}